package com.ftg.rbac.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 角色
 *
 * @author kangjx
 * @version 1.0
 * @date 2023/3/16 上午9:08
 */
public interface RoleMapper {

    @Select("select count(rid) from role where rid = #{rid}")
    int findNumByRid(@Param("rid") Integer rid);

}
